package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UmsWithdrawalApply implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "申请的提现金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "申请提现状态：0->已申请；5->店铺已同意；10->平台已同意;15->店铺拒绝;20->平台拒绝")
    private Integer status;

    @ApiModelProperty(value = "申请门店用户id")
    private Long adminId;

    @ApiModelProperty(value = "申请门店用户用户名")
    private String adminUserName;

    @ApiModelProperty(value = "申请门店id")
    private Long storeId;

    @ApiModelProperty(value = "上次操作人id")
    private Long operateUserId;

    @ApiModelProperty(value = "上次操作人用户名")
    private String operateUserName;

    @ApiModelProperty(value = "拒绝原因")
    private String failedReason;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "提现类型：0->佣金提现（针对经纪人提现佣金）;1->店铺提现（真对店铺申请结算）")
    private Integer type;

    @ApiModelProperty(value = "佣金提现经纪人的id")
    private Long memberId;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getAdminId() {
        return adminId;
    }

    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public String getAdminUserName() {
        return adminUserName;
    }

    public void setAdminUserName(String adminUserName) {
        this.adminUserName = adminUserName;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Long getOperateUserId() {
        return operateUserId;
    }

    public void setOperateUserId(Long operateUserId) {
        this.operateUserId = operateUserId;
    }

    public String getOperateUserName() {
        return operateUserName;
    }

    public void setOperateUserName(String operateUserName) {
        this.operateUserName = operateUserName;
    }

    public String getFailedReason() {
        return failedReason;
    }

    public void setFailedReason(String failedReason) {
        this.failedReason = failedReason;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", amount=").append(amount);
        sb.append(", status=").append(status);
        sb.append(", adminId=").append(adminId);
        sb.append(", adminUserName=").append(adminUserName);
        sb.append(", storeId=").append(storeId);
        sb.append(", operateUserId=").append(operateUserId);
        sb.append(", operateUserName=").append(operateUserName);
        sb.append(", failedReason=").append(failedReason);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", type=").append(type);
        sb.append(", memberId=").append(memberId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}